package edu.luc.etl.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Home extends Activity {
    Button getFeed;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        getFeed= (Button) findViewById(R.id.GetFeed);
        
        getFeed.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent i = new Intent(Home.this, edu.luc.etl.android.SelectFeed.class);
				i.putExtra("url", "http://ieee-cn.googlecode.com/hg/feed.xml");
				startActivity(i);
				
			}
		});
    }
}